import {
  IShowTableConfigType,
  ITreeTableConfigType
} from "@/components/show-table/type/type";
export const menuListTableConfig: IShowTableConfigType[] = [
  {
    prop: "name",
    label: "名称"
  },
  {
    prop: "url",
    label: "路径"
  },
  {
    prop: "permission",
    label: "权限"
  },
  {
    prop: "icon",
    label: "图标"
  },
  {
    prop: "type",
    label: "类型"
  }
];
export const treeTableConfig: ITreeTableConfigType = {
  rowKey: "id",
  treeProps: {
    children: "children"
  }
};
